package com.xm9m.ibczy.mytest.alimama.mobile.demo;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.xm9m.ibczy.mytest.R;

public class BaseActivity extends Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}
	
	protected void setTitle(String title){
		((TextView)findViewById(R.id.title)).setText(title);
	}
	
	public void back(View v){
		onBackPressed();
	}
}
